﻿using Edge.Repository.Base;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Edge.Repository.Model.CameraSys
{
 

    [SqlSugar.SugarTable("Camera_Config")]
    public class CameraConfigModel : EdgeBaseModel
    {



        /// <summary>
        ///  名称
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string Name { get; set; }


        /// <summary>
        ///  视频源
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string Source { get; set; }


        /// <summary>
        ///  备注
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string BeiZhu { get; set; }


        /// <summary>
        ///  最高温度
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int  MaxWenDu { get; set; }


        /// <summary>
        ///  最低温度
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int MinWenDu { get; set; }
          

        #region MyRegion


        /// <summary>
        ///   校准温度
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string Attribute1 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string Attribute2 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string Attribute3 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string Attribute4 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string Attribute5 { get; set; }

        #endregion




    }



    [SqlSugar.SugarTable("Camera_Data")]
    public class CameraDataModel : EdgeBaseModel
    { 

        /// <summary>
        ///  主键ID 
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int Pid  { get; set; }


        /// <summary>
        ///  创建时间
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public DateTime CreateTime { get; set; }


        /// <summary>
        ///  温度
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int WenDu { get; set; }



        /// <summary>
        ///  灰度
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int HuiDu { get; set; }
         
    }

    
}
